package org.jeecg.modules.shop.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 选品表
 * @Author: jeecg-boot
 * @Date:   2020-08-07
 * @Version: V1.0
 */
@Data
@TableName("rs_select_product")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="rs_select_product对象", description="选品表")
public class RsSelectProduct implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**产品名称*/
	@Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private String productName;
	/**产品链接*/
	@Excel(name = "产品链接", width = 15)
    @ApiModelProperty(value = "产品链接")
    private String productUrl;
	/**货号*/
	@Excel(name = "货号", width = 15)
    @ApiModelProperty(value = "货号")
    private String productCode;
	/**采购价*/
	@Excel(name = "采购价", width = 15)
    @ApiModelProperty(value = "采购价")
    private BigDecimal purchasePrice;
	/**零售价*/
	@Excel(name = "零售价", width = 15)
    @ApiModelProperty(value = "零售价")
    private BigDecimal retailPrice;
	/**销售方式*/
	@Excel(name = "销售方式", width = 15, dicCode = "product_rule")
	@Dict(dicCode = "product_rule")
    @ApiModelProperty(value = "销售方式")
    private String ruleId;
	/**素材链接*/
	@Excel(name = "素材链接", width = 15)
    @ApiModelProperty(value = "素材链接")
    private String materialLink;
	/**产品卖点*/
	@Excel(name = "产品卖点", width = 15)
    @ApiModelProperty(value = "产品卖点")
    private String productPoint;
	/**选品员id*/
	@Excel(name = "选品员id", width = 15)
    @ApiModelProperty(value = "选品员id")
    private String selectUser;
	/**设计师*/
	@Excel(name = "设计师", width = 15)
    @ApiModelProperty(value = "设计师")
    private String designer;
	/**选品状态*/
	@Excel(name = "选品状态", width = 15)
    @ApiModelProperty(value = "选品状态")
    private String selectStatus;
    /**分配状态*/
    @Excel(name = "分配状态", width = 15)
    @ApiModelProperty(value = "分配状态")
    @Dict(dicCode = "allocation_status")
    private String allocationStatus;
	/**设计状态*/
	@Excel(name = "设计状态", width = 15)
    @ApiModelProperty(value = "设计状态")
    private String designStatus;
}
